# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


class CreditScoreDetail(object):

    def __init__(self, riskTag=None, riskCode=None, riskClass=None, score=None, scoreDesc=None, attribution=None):
        """
        :param riskTag: (Optional) 风险类型，对应riskCode的中文描述
        :param riskCode: (Optional) 风险类型编码
        :param riskClass: (Optional) 风险分类，对应riskCode的分类，101~106账号综合风险，201~207手机综合风险，301设备综合风险，401~403身份综合风险，501~506IP综合风险，600~604注册综合风险，700~703登录综合风险，800~803营销综合风险
        :param score: (Optional) 风险评分，1-低风险 2-中低风险 3-中风险 4-中高风险 5-高风险 0-未知
        :param scoreDesc: (Optional) 对应score的中文描述，1-低风险 2-中低风险 3-中风险 4-中高风险 5-高风险 0-未知
        :param attribution: (Optional) 手机号码归属地，只有resourceType为phone时且归属地不为空时提供字段值，如：黑龙江-伊春市
        """

        self.riskTag = riskTag
        self.riskCode = riskCode
        self.riskClass = riskClass
        self.score = score
        self.scoreDesc = scoreDesc
        self.attribution = attribution
